package com.mock.dao;



import java.util.List;

import com.mock.model.Address;
import com.mock.model.DataTable;


public interface AddressDao extends GenericDao<Address, Long>{
//	//List<Address> getAll(Class<Address> T);
	List<Address> getAllAddress();
	Address getById(Long id);
	Address getByPostcode(String postcode);
	Address getByStreet(String street);
//	//Address getByTown(Long townId);
	Address getByName(String nameColume, String valueSearch);
	List<Address> getAddressByQuery(DataTable dataTable);
	int getRowCount();	
	
}
